/*
 * @Author: Clark
 * @Email: haixuanwoTxh@gmail.com
 * @Date: 2023-01-05 14:49:58
 * @LastEditors: Clark
 * @LastEditTime: 2023-01-05 14:50:08
 * @Description: file content
 */

#include "apue.h"

int main(int argc, char *argv[])
{
    int status;

    if (argc < 2)
    {
        err_quit("command-line argument required");
    }

    if ((status = system(argv[1])) < 0)
    {
        err_sys("system() error");
    }
    pr_exit(status);

    exit(0);
}
